package com.ruoyi.city.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 广告位管理对象 ad_position
 * 
 * @author tzh
 * @date 2025-09-12
 */
public class AdPosition extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 广告位ID */
    @Excel(name = "广告位ID")
    private Long id;

    /** 位置名称 */
    @Excel(name = "位置名称")
    private String name;

    /** 广告宽度 */
    @Excel(name = "广告宽度")
    private Long width;

    /** 广告高度 */
    @Excel(name = "广告高度")
    private Long height;

    /** 状态 */
    @Excel(name = "状态")
    private Long positionStatus;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setWidth(Long width) 
    {
        this.width = width;
    }

    public Long getWidth() 
    {
        return width;
    }

    public void setHeight(Long height) 
    {
        this.height = height;
    }

    public Long getHeight() 
    {
        return height;
    }

    public void setPositionStatus(Long positionStatus) 
    {
        this.positionStatus = positionStatus;
    }

    public Long getPositionStatus() 
    {
        return positionStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("width", getWidth())
            .append("height", getHeight())
            .append("positionStatus", getPositionStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
